return list;
}
+#ifdef GDK_WINDOWING_X11
void
_gtk_window_add_embedded_xid (GtkWindow *window, GdkNativeWindow xid)
{
embedded_windows ?
(GDestroyNotify) g_list_free : NULL);
}
+#endif
static void
gtk_window_dispose (GObject *object)
return FALSE;
}
+#ifdef GDK_WINDOWING_X11
static GdkAtom atom_rcfiles = GDK_NONE;
static GdkAtom atom_iconthemes = GDK_NONE;
gdk_event_free (send_event);
}
}
+#endif
static gint
gtk_window_client_event (GtkWidget *widget,
GdkEventClient *event)
{
+#ifdef GDK_WINDOWING_X11
if (!atom_rcfiles)
{
atom_rcfiles = gdk_atom_intern_static_string ("_GTK_READ_RCFILES");
send_client_message_to_embedded_windows (widget, atom_iconthemes);
_gtk_icon_theme_check_reload (gtk_widget_get_display (widget));
}
+#endif
return FALSE;
}
#ifndef __GTK_WINDOW_PRIVATE_H__
#define __GTK_WINDOW_PRIVATE_H__
+#include <gdk/gdk.h>
+
#include "gtkwindow.h"
G_BEGIN_DECLS
void _gtk_window_internal_set_focus (GtkWindow *window,
GtkWidget *focus);
+#ifdef GDK_WINDOWING_X11
void _gtk_window_remove_embedded_xid (GtkWindow *window,
GdkNativeWindow xid);
void _gtk_window_add_embedded_xid (GtkWindow *window,
GdkNativeWindow xid);
+#endif
void _gtk_window_reposition (GtkWindow *window,
gint x,
gint y);